package com.stacktips.recyclerview;

/**
 * Created by Nilanchala Panigrahy on 10/25/16.
 */
public class FeedItem {
    private Integer thumbnails[]={
		R.drawable.tb0,
		R.drawable.tb1,		
		R.drawable.tb2,
		R.drawable.tb3,		
		R.drawable.tb4,
		R.drawable.tb5,		
		R.drawable.tb6,
		R.drawable.tb7,		
		R.drawable.tb8,
		R.drawable.tb9,		
		R.drawable.tb10,
		R.drawable.tb11,		
		R.drawable.tb12,
		R.drawable.tb13,		
		R.drawable.tb14,
		R.drawable.tb15,		
		R.drawable.tb16,
		R.drawable.tb17,		
		R.drawable.tb18,
		R.drawable.tb19,		
		R.drawable.tb20,
		R.drawable.tb21		
		
	};
    private String title;
    private Integer thumbnail;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
		int i=Integer.parseInt(thumbnail);
        this.thumbnail = thumbnails[i];
    }
}
